import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Work from '../views/Work.vue'
import Company from '../views/Company.vue'

Vue.use(VueRouter)

  const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home,
  },
  {
    path:'/work',component:Work
  },
  {
    path: '/company', component: Company
  }
]

const router = new VueRouter({
  routes
})

export default router
